* {
  margin: 0;
  padding: 0;
}
body {
  width: 100%;
  height: 1050px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
body > div {
  position: relative;
  width: 33%;
  height: 350px;
  overflow: hidden;
}
body > div > div {
  height: 100%;
}
/* 第一张图片 */
.one {
  background-image: url(../img/star/1.png);
  transition: all 0.3s linear 0s;
}
.one ~ p:not(p:nth-of-type(1)) {
  width: 100px;
  opacity: 0;
  background-color: dodgerblue;
  transition: all 0.1s linear 0s;
}
.one + p,
.two + p {
  position: absolute;
  top: 60px;
  left: 50px;
  font-size: 24px;
  font-weight: bolder;
  color: #fff;
  transition: all 0.6s linear 0.3s;
}
.one ~ p:nth-of-type(2) {
  position: absolute;
  top: 420px;
  left: 80px;
}
.one ~ p:nth-of-type(3) {
  position: absolute;
  top: 170px;
  left: 680px;
}
.one ~ p:nth-of-type(4) {
  position: absolute;
  top: 220px;
  left: -520px;
}
/* 动画 */
.one:hover {
  transform: translateX(30px);
  opacity: 0.6;
}
.one:hover + p:nth-of-type(1) {
  transform: translateX(30px);
}
.one:hover ~ p:nth-of-type(2) {
  transform: translateY(-300px);
  opacity: 1;
}
.one:hover ~ p:nth-of-type(3) {
  transform: translateX(-600px);
  opacity: 1;
}
.one:hover ~ p:nth-of-type(4) {
  transform: translateX(600px);
  opacity: 1;
}
/* 第二张图片 */
.two {
  background-image: url(../img/star/2.png);
  transition: all 0.3s linear 0s;
}
.two + p:nth-of-type(1) {
  left: 20px;
}
.two ~ :not(p:nth-of-type(1)) {
  display: inline-block;
  position: absolute;
  left: -280px;
  opacity: 0;
  color: #000;
  background-color: #fff;
}
.two ~ p:nth-of-type(2) {
  top: 100px;
  transition: all 0.2s linear 0s;
}
.two ~ p:nth-of-type(3) {
  top: 150px;
  transition: all 0.2s linear 0.05s;
}
.two ~ p:nth-of-type(4) {
  top: 200px;
  transition: all 0.2s linear 0.1s;
}
/* 动画 */
.two:hover {
  transform: translateX(-20px);
  opacity: 0.6;
}
.two:hover ~ :not(p:nth-of-type(1)) {
  opacity: 1;
  transform: translateX(300px);
}
/* 第三张图片 */
.three {
  background-image: url(../img/star/3.png);
  transition: all 0.3s linear 0s;
}
.three + p {
  position: absolute;
  top: -100px;
  left: 50px;
  font-size: 24px;
  font-weight: bolder;
  color: #fff;
  transition: all 2s linear 0s;
}
.three ~ p:nth-of-type(2) {
  height: 80px;
  position: absolute;
  top: 260px;
  left: 70px;
  opacity: 0;
  transition: all 2s linear 0s;
}
.three ~ span {
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 20px;
  right: 20px;
  background-image: url(../img/star/musicBtn.png);
  background-size: 40px 40px;
  background-repeat: no-repeat;
  animation: Rotate 2s ease infinite;
}
@keyframes Rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* 动画 */
.three:hover {
  transform: translateY(-20px);
  opacity: 0.6;
}
.three:hover + p {
  transform: translateY(200px);
}
.three:hover ~ p:nth-of-type(2) {
  transform: translateY(-90px);
  opacity: 1;
}
/* 第四张图片 */
.four {
  background-image: url(../img/star/4.png);
  transition: all 0.3s linear 0s;
}
.four + p {
  position: absolute;
  top: 90px;
  left: 20px;
  font-size: 24px;
  font-weight: bolder;
  color: #fff;
  transition: all 0.6s linear 0.3s;
  opacity: 0;
}
.four ~ p:nth-of-type(2) {
  position: absolute;
  top: 350px;
  right: 20px;
  opacity: 0;
  transition: all 1s linear 0s;
}
.four ~ div {
  width: 1000px;
  height: 500px;
  background-color: dodgerblue;
  opacity: 0;
  position: absolute;
  top: 350px;
  left: 0;
  transition: all 1s linear 0s;
}
/* 动画 */
.four:hover {
  opacity: 0.6;
}
.four:hover + p {
  transform: translateY(-30px);
  opacity: 1;
}
.four:hover ~ p:nth-of-type(2) {
  transform: translateY(-80px);
  opacity: 1;
  z-index: 1;
}
.four:hover ~ div {
  transform: rotate(-20deg);
  transform-origin: 0 0;
  opacity: 1;
}
/* 第五张那个图片 */
.five {
  background-image: url(../img/star/5.png);
  transition: all 3s linear 0s;
}
.five + p {
  position: absolute;
  top: 55px;
  left: 25px;
  font-size: 24px;
  font-weight: bolder;
  color: #fff;
  transition: all 1s linear 0s;
}
.five ~ p:nth-of-type(2) {
  position: absolute;
  left: 75px;
  top: 450px;
  transition: all 1s linear 0s;
}
.five ~ div:nth-of-type(2) {
  width: 400px;
  height: 250px;
  border: 3px solid #000;
  position: absolute;
  top: -350px;
  left: 50px;
  /* top: 50px;
  left: 50px; */
  opacity: 0;
  transition: all 3s linear 0s;
}
/* 动画 */
.five:hover {
  opacity: 0.6;
}
.five:hover + p {
  transform: translateX(50px);
}
.five:hover ~ p:nth-of-type(2) {
  transform: translateY(-360px);
}
.five:hover ~ div:nth-of-type(2) {
  transform: translateY(400px) rotate(360deg);
  opacity: 1;
}
/* 第六张图片 */
.six {
  background-image: url(../img/star/6.png);
  transition: all 0.6s linear 0s;
}
.six + p {
  font-size: 24px;
  font-weight: bolder;
  position: absolute;
  top: 170px;
  right: 50px;
  transition: all 2s ease 0s;
}
/* 动画 */
.six:hover {
  transform: scale(1.5);
  opacity: 0.6;
}
.six:hover + p {
  transform: rotate(315deg);
}
/* 第七张图片 */
.seven {
  background-image: url(../img/star/7.png);
  transition: all 1s linear 0s;
}
/* 动画 */
.seven:hover {
  transform: scale(0.8);
  opacity: 0.6;
}
/* 第八张图片 */
.eight {
  background-image: url(../img/star/8.png);
  transition: all 0.6s linear 0s;
}
.eight + p {
  font-size: 24px;
  font-weight: bolder;
  position: absolute;
  top: -100px;
  right: 100px;
  z-index: 1;
  transition: all 3s linear 0s;
}
.eight ~ div:nth-of-type(2) {
  width: 0;
  height: 200px;
  position: absolute;
  top: 100px;
  left: 120px;
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  transition: all 3s linear 0s;
}
.eight ~ div:nth-of-type(3) {
  width: 200px;
  height: 0;
  position: absolute;
  top: 80px;
  left: 140px;
  border-left: 2px solid #ccc;
  border-right: 2px solid #ccc;
  transition: all 3s linear 0s;
}
/* 动画 */
.eight:hover {
  opacity: 0.6;
}
.eight:hover + p {
  transform: translateY(200px) rotate(360deg);
}
.eight:hover ~ div:nth-of-type(2) {
  width: 240px;
}
.eight:hover ~ div:nth-of-type(3) {
  height: 240px;
}
/* 第九章图片 */
.nine {
  background-image: url(../img/star/9.png);
  transition: all 1s linear 0s;
}
/* 动画 */
.nine:hover {
  transform: rotate(20deg) scale(1.2);
  opacity: 0.6;
}
